
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.CalendarWorktype;
import com.cmc.dao.CalendarWorktypeDao;

public interface CalendarWorktypeManager extends Manager {
    /**
     * Retrieves all of the calendarWorktypes
     */
    public List getCalendarWorktypes(CalendarWorktype calendarWorktype);

    /**
     * Gets calendarWorktype's information based on id.
     * @param id the calendarWorktype's id
     * @return calendarWorktype populated calendarWorktype object
     */
    public CalendarWorktype getCalendarWorktype(final String id);

    /**
     * Saves a calendarWorktype's information
     * @param calendarWorktype the object to be saved
     */
    public void saveCalendarWorktype(CalendarWorktype calendarWorktype);

    /**
     * Removes a calendarWorktype from the database by id
     * @param id the calendarWorktype's id
     */
    public void removeCalendarWorktype(final String id);
    
    public List getCalendarWorktypesByStartDateEndDate(final String startDate, final String endDate);
    
}

